
<!DOCTYPE HTML>
<html lang="zh-hans" >
    <head>
        <meta charset="UTF-8">
        <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
        <title>第 2 章 Oozie 的功能模块介绍 · 大数据 bigdata_oozie_atguigu 课堂笔记</title>
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <meta name="description" content="">
        <meta name="generator" content="GitBook 3.2.3">
        <meta name="author" content=" 李振超">
        
        
    
    <link rel="stylesheet" href="gitbook/style.css">

    
            
                
                <link rel="stylesheet" href="gitbook/gitbook-plugin-splitter/splitter.css">
                
            
                
                <link rel="stylesheet" href="gitbook/gitbook-plugin-expandable-chapters-small/expandable-chapters-small.css">
                
            
                
                <link rel="stylesheet" href="gitbook/gitbook-plugin-page-toc-button/plugin.css">
                
            
                
                <link rel="stylesheet" href="gitbook/gitbook-plugin-prism/prism-solarizedlight.css">
                
            
                
                <link rel="stylesheet" href="gitbook/gitbook-plugin-tbfed-pagefooter/footer.css">
                
            
                
                <link rel="stylesheet" href="gitbook/gitbook-plugin-change_girls/girls.css">
                
            
                
                <link rel="stylesheet" href="gitbook/gitbook-plugin-search/search.css">
                
            
                
                <link rel="stylesheet" href="gitbook/gitbook-plugin-fontsettings/website.css">
                
            
        

    

    
        
        <link rel="stylesheet" href="styles/website.css">
        
    
        
    
        
    
        
    
        
    

        
    
    
    <meta name="HandheldFriendly" content="true"/>
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <link rel="apple-touch-icon-precomposed" sizes="152x152" href="gitbook/images/apple-touch-icon-precomposed-152.png">
    <link rel="shortcut icon" href="gitbook/images/favicon.ico" type="image/x-icon">

    
    <link rel="next" href="di-3-zhang-oozie-bu-shu.html" />
    
    
    <link rel="prev" href="./" />
    

    </head>
    <body>
        
<div class="book">
    <div class="book-summary">
        
            
<div id="book-search-input" role="search">
    <input type="text" placeholder="输入并搜索" />
</div>

            
                <nav role="navigation">
                


<ul class="summary">
    
    
    
        
        <li>
            <a href="http://www.atguigu.com/" target="_blank" class="custom-link">联系我们</a>
        </li>
    
    

    
    <li class="divider"></li>
    

    
        
        
    
        <li class="chapter " data-level="1.1" data-path="./">
            
                <a href="./">
            
                    
                    第 1 章 Oozie 简介
            
                </a>
            

            
        </li>
    
        <li class="chapter active" data-level="1.2" data-path="chapter1.html">
            
                <a href="chapter1.html">
            
                    
                    第 2 章 Oozie 的功能模块介绍
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3" data-path="di-3-zhang-oozie-bu-shu.html">
            
                <a href="di-3-zhang-oozie-bu-shu.html">
            
                    
                    第 3 章 Oozie 部署
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.3.1" data-path="di-3-zhang-oozie-bu-shu/31-bu-shu-cdh-ban-ben-de-hadoop.html">
            
                <a href="di-3-zhang-oozie-bu-shu/31-bu-shu-cdh-ban-ben-de-hadoop.html">
            
                    
                    3.1 部署 CDH 版本的 Hadoop
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.2" data-path="di-3-zhang-oozie-bu-shu/32-bu-shu-cdh-ban-ben-de-oozie.html">
            
                <a href="di-3-zhang-oozie-bu-shu/32-bu-shu-cdh-ban-ben-de-oozie.html">
            
                    
                    3.2 部署 CDH 版本的 Oozie
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.4" data-path="di-4-zhang-oozie-de-shi-yong-an-li.html">
            
                <a href="di-4-zhang-oozie-de-shi-yong-an-li.html">
            
                    
                    第 4 章 Oozie 的使用案例
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.4.1" data-path="di-4-zhang-oozie-de-shi-yong-an-li/41-an-li-4e003a-oozie-diao-du-shell-jiao-ben.html">
            
                <a href="di-4-zhang-oozie-de-shi-yong-an-li/41-an-li-4e003a-oozie-diao-du-shell-jiao-ben.html">
            
                    
                    4.1 案例一: Oozie调度shell脚本
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.2" data-path="di-4-zhang-oozie-de-shi-yong-an-li/42-an-li-er-ff1a-oozie-luo-ji-diao-du-zhi-xing-duo-ge-job.html">
            
                <a href="di-4-zhang-oozie-de-shi-yong-an-li/42-an-li-er-ff1a-oozie-luo-ji-diao-du-zhi-xing-duo-ge-job.html">
            
                    
                    4.2 案例二：Oozie 逻辑调度执行多个 Job
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.3" data-path="di-4-zhang-oozie-de-shi-yong-an-li/43-an-li-4e093a-oozie-diao-du-mapreduce-ren-wu.html">
            
                <a href="di-4-zhang-oozie-de-shi-yong-an-li/43-an-li-4e093a-oozie-diao-du-mapreduce-ren-wu.html">
            
                    
                    4.3 案例三: Oozie 调度 MapReduce 任务
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.4" data-path="di-4-zhang-oozie-de-shi-yong-an-li/44-an-li-56db3a-oozie-ding-shi-ren-52a1-xun-huan-ren-wu.html">
            
                <a href="di-4-zhang-oozie-de-shi-yong-an-li/44-an-li-56db3a-oozie-ding-shi-ren-52a1-xun-huan-ren-wu.html">
            
                    
                    4.4 案例四: Oozie 定时任务/循环任务
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.5" data-path="di-5-zhang-chang-jian-wen-ti-zong-jie.html">
            
                <a href="di-5-zhang-chang-jian-wen-ti-zong-jie.html">
            
                    
                    第 5 章 常见问题总结
            
                </a>
            

            
        </li>
    

    

    <li class="divider"></li>

    <li>
        <a href="https://www.gitbook.com" target="blank" class="gitbook-link">
            本书使用 GitBook 发布
        </a>
    </li>
</ul>


                </nav>
            
        
    </div>

    <div class="book-body">
        
            <div class="body-inner">
                
                    

<div class="book-header" role="navigation">
    

    <!-- Title -->
    <h1>
        <i class="fa fa-circle-o-notch fa-spin"></i>
        <a href="." >第 2 章 Oozie 的功能模块介绍</a>
    </h1>
</div>




                    <div class="page-wrapper" tabindex="-1" role="main">
                        <div class="page-inner">
                            
<div id="book-search-results">
    <div class="search-noresults">
    
                                <section class="normal markdown-section">
                                
                                <h1 id="&#x7B2C;-2-&#x7AE0;-oozie-&#x7684;&#x529F;&#x80FD;&#x6A21;&#x5757;&#x4ECB;&#x7ECD;">&#x7B2C; 2 &#x7AE0; Oozie &#x7684;&#x529F;&#x80FD;&#x6A21;&#x5757;&#x4ECB;&#x7ECD;</h1>
<h2 id="21-&#x6A21;&#x5757;">2.1 &#x6A21;&#x5757;</h2>
<h3 id="workflow&#x5DE5;&#x4F5C;&#x6D41;">Workflow(&#x5DE5;&#x4F5C;&#x6D41;)</h3>
<p>&#x5DE5;&#x4F5C;&#x6D41;&#xFF0C;&#x7531;&#x6211;&#x4EEC;&#x9700;&#x8981;&#x5904;&#x7406;&#x7684;&#x6BCF;&#x4E2A;&#x5DE5;&#x4F5C;&#x7EC4;&#x6210;&#xFF0C;&#x8FDB;&#x884C;&#x9700;&#x6C42;&#x7684;&#x6D41;&#x5F0F;&#x5904;&#x7406;&#x3002;</p>
<h3 id="coordinator&#x534F;&#x8C03;&#x5668;">Coordinator(&#x534F;&#x8C03;&#x5668;)</h3>
<p>&#x534F;&#x8C03;&#x5668;&#xFF0C;&#x53EF;&#x4EE5;&#x7406;&#x89E3;&#x4E3A;&#x5DE5;&#x4F5C;&#x6D41;&#x7684;&#x534F;&#x8C03;&#x5668;&#xFF0C;&#x53EF;&#x4EE5;&#x5C06;&#x591A;&#x4E2A;&#x5DE5;&#x4F5C;&#x6D41;&#x534F;&#x8C03;&#x6210;&#x4E00;&#x4E2A;&#x5DE5;&#x4F5C;&#x6D41;&#x6765;&#x8FDB;&#x884C;&#x5904;&#x7406;, &#x4E5F;&#x53EF;&#x4EE5;&#x5B9A;&#x65F6;&#x53BB;&#x89E6;&#x53D1;&#x5DE5;&#x4F5C;&#x6D41;&#x7684;&#x6267;&#x884C;.</p>
<h3 id="bundle">Bundle</h3>
<p>&#x6346;&#xFF0C;&#x675F;&#x3002;&#x5C06;&#x4E00;&#x5806;&#x7684; Coordinator &#x8FDB;&#x884C;&#x6C47;&#x603B;&#x5904;&#x7406;&#x3002;</p>
<h3 id="&#x603B;&#x7ED3;">&#x603B;&#x7ED3;:</h3>
<p>&#x7B80;&#x5355;&#x6765;&#x8BF4;&#xFF0C;Workflow &#x662F;&#x5BF9;&#x8981;&#x8FDB;&#x884C;&#x7684;&#x987A;&#x5E8F;&#x5316;&#x5DE5;&#x4F5C;&#x7684;&#x62BD;&#x8C61;. &#x5C31;&#x662F;&#x628A;&#x4E00;&#x4E2A;&#x5177;&#x4F53;&#x7684;&#x5DE5;&#x4F5C;&#x62BD;&#x8C61;&#x6210; Workflow.</p>
<p>Coordinator &#x662F;&#x5BF9;&#x8981;&#x8FDB;&#x884C;&#x7684;&#x987A;&#x5E8F;&#x5316;&#x7684; workflow &#x7684;&#x62BD;&#x8C61;.  </p>
<p>Bundle&#x662F;&#x5BF9;&#x4E00;&#x5806; coordiantor &#x7684;&#x62BD;&#x8C61;&#x3002;&#x5C42;&#x7EA7;&#x5173;&#x7CFB;&#x5C42;&#x5C42;&#x5305;&#x88F9;&#x3002;</p>
<my>&#x5BF9;&#x4E00;&#x4E9B;&#x7B80;&#x5355;&#x7684;&#x4EFB;&#x52A1;, &#x524D;&#x4E24;&#x4E2A;&#x7528;&#x7684;&#x6BD4;&#x8F83;&#x591A;.</my>

<hr>
<h2 id="22-&#x5E38;&#x7528;&#x8282;&#x70B9;">2.2 &#x5E38;&#x7528;&#x8282;&#x70B9;</h2>
<h3 id="&#x63A7;&#x5236;&#x6D41;&#x8282;&#x70B9;&#xFF08;control-flow-nodes&#xFF09;">&#x63A7;&#x5236;&#x6D41;&#x8282;&#x70B9;&#xFF08;Control Flow Nodes&#xFF09;</h3>
<p>&#x63A7;&#x5236;&#x6D41;&#x8282;&#x70B9;&#x4E00;&#x822C;&#x90FD;&#x662F;&#x5B9A;&#x4E49;&#x5728;&#x5DE5;&#x4F5C;&#x6D41;&#x5F00;&#x59CB;&#x6216;&#x8005;&#x7ED3;&#x675F;&#x7684;&#x4F4D;&#x7F6E;&#xFF0C;&#x6BD4;&#x5982; start,end,kill &#x7B49;&#x3002;</p>
<p>&#x4EE5;&#x53CA;&#x63D0;&#x4F9B;&#x5DE5;&#x4F5C;&#x6D41;&#x7684;&#x6267;&#x884C;&#x8DEF;&#x5F84;&#x673A;&#x5236;&#xFF0C;&#x5982; decision&#xFF0C;fork&#xFF0C;join &#x7B49;&#x3002;</p>
<h3 id="&#x52A8;&#x4F5C;&#x8282;&#x70B9;&#xFF08;action--nodes&#xFF09;">&#x52A8;&#x4F5C;&#x8282;&#x70B9;&#xFF08;Action  Nodes&#xFF09;</h3>
<p>&#x8D1F;&#x8D23;&#x6267;&#x884C;&#x5177;&#x4F53;&#x52A8;&#x4F5C;&#x7684;&#x8282;&#x70B9;&#xFF0C;&#x6BD4;&#x5982;&#xFF1A;&#x62F7;&#x8D1D;&#x6587;&#x4EF6;&#xFF0C;&#x6267;&#x884C;&#x67D0;&#x4E2A; Shell &#x811A;&#x672C;&#x7B49;&#x7B49;&#x3002;</p>
<footer class="page-footer"><span class="copyright">Copyright &#xA9; &#x5C1A;&#x7845;&#x8C37;&#x5927;&#x6570;&#x636E; 2019 all right reserved&#xFF0C;powered by Gitbook</span><span class="footer-modification"><br>&#x8BE5;&#x6587;&#x4EF6;&#x6700;&#x540E;&#x4FEE;&#x8BA2;&#x65F6;&#x95F4;&#xFF1A;
2018-11-20 18:13:55
</span></footer>
                                
                                </section>
                            
    </div>
    <div class="search-results">
        <div class="has-results">
            
            <h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1>
            <ul class="search-results-list"></ul>
            
        </div>
        <div class="no-results">
            
            <h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1>
            
        </div>
    </div>
</div>

                        </div>
                    </div>
                
            </div>

            
                
                <a href="./" class="navigation navigation-prev " aria-label="Previous page: 第 1 章 Oozie 简介">
                    <i class="fa fa-angle-left"></i>
                </a>
                
                
                <a href="di-3-zhang-oozie-bu-shu.html" class="navigation navigation-next " aria-label="Next page: 第 3 章 Oozie 部署">
                    <i class="fa fa-angle-right"></i>
                </a>
                
            
        
    </div>

    <script>
        var gitbook = gitbook || [];
        gitbook.push(function() {
            gitbook.page.hasChanged({"page":{"title":"第 2 章 Oozie 的功能模块介绍","level":"1.2","depth":1,"next":{"title":"第 3 章 Oozie 部署","level":"1.3","depth":1,"path":"di-3-zhang-oozie-bu-shu.md","ref":"di-3-zhang-oozie-bu-shu.md","articles":[{"title":"3.1 部署 CDH 版本的 Hadoop","level":"1.3.1","depth":2,"path":"di-3-zhang-oozie-bu-shu/31-bu-shu-cdh-ban-ben-de-hadoop.md","ref":"di-3-zhang-oozie-bu-shu/31-bu-shu-cdh-ban-ben-de-hadoop.md","articles":[]},{"title":"3.2 部署 CDH 版本的 Oozie","level":"1.3.2","depth":2,"path":"di-3-zhang-oozie-bu-shu/32-bu-shu-cdh-ban-ben-de-oozie.md","ref":"di-3-zhang-oozie-bu-shu/32-bu-shu-cdh-ban-ben-de-oozie.md","articles":[]}]},"previous":{"title":"第 1 章 Oozie 简介","level":"1.1","depth":1,"path":"README.md","ref":"README.md","articles":[]},"dir":"ltr"},"config":{"plugins":["splitter","expandable-chapters-small","page-toc-button","-highlight","prism","prism-themes","tbfed-pagefooter","sitemap","change_girls","livereload"],"styles":{"website":"styles/website.css","ebook":"styles/ebook.css","pdf":"styles/pdf.css","mobi":"styles/mobi.css","epub":"styles/epub.css"},"pluginsConfig":{"tbfed-pagefooter":{"copyright":"Copyright &copy 尚硅谷大数据 2019","modify_label":"<br>该文件最后修订时间：","modify_format":"YYYY-MM-DD HH:mm:ss"},"prism":{"css":["prismjs/themes/prism-solarizedlight.css"]},"disqus":{"shortName":"zhenchao125"},"livereload":{},"splitter":{},"change_girls":{"time":30,"urls":["http://lizhenchao.oss-cn-shenzhen.aliyuncs.com/imgs/18-3-4/62171757.jpg-atguiguImg","http://lizhenchao.oss-cn-shenzhen.aliyuncs.com/imgs/18-3-4/83394736.jpg-atguiguImg","http://lizhenchao.oss-cn-shenzhen.aliyuncs.com/imgs/18-3-4/15906185.jpg-atguiguImg","http://lizhenchao.oss-cn-shenzhen.aliyuncs.com/imgs/18-3-4/15906185.jpg-atguiguImg","http://lizhenchao.oss-cn-shenzhen.aliyuncs.com/imgs/18-3-4/3394270.jpg-atguiguImg","http://lizhenchao.oss-cn-shenzhen.aliyuncs.com/imgs/18-3-4/65028582.jpg-atguiguImg","http://lizhenchao.oss-cn-shenzhen.aliyuncs.com/imgs/18-3-4/20359261.jpg-atguiguImg","http://lizhenchao.oss-cn-shenzhen.aliyuncs.com/imgs/18-3-4/37472401.jpg-atguiguImg","http://lizhenchao.oss-cn-shenzhen.aliyuncs.com/imgs/18-3-4/3355397.jpg-atguiguImg","http://lizhenchao.oss-cn-shenzhen.aliyuncs.com/imgs/18-3-4/11075549.jpg-atguiguImg"]},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"fontsettings":{"theme":"white","family":"sans","size":2},"sitemap":{"hostname":"http://bigdataatguigu.applinzi.com/"},"page-toc-button":{"maxTocDepth":3,"minTocSize":2},"prism-themes":{},"expandable-chapters-small":{},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"theme":"default","author":" 李振超","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"大数据 bigdata_oozie_atguigu 课堂笔记","language":"zh-hans","links":{"sidebar":{"联系我们":"http://www.atguigu.com/"}},"gitbook":"*","description":"课堂笔记,学生提前预习"},"file":{"path":"chapter1.md","mtime":"2018-11-20T10:13:55.140Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2019-04-02T04:57:56.681Z"},"basePath":".","book":{"language":""}});
        });
    </script>
</div>

        
    <script src="gitbook/gitbook.js"></script>
    <script src="gitbook/theme.js"></script>
    
        
        <script src="gitbook/gitbook-plugin-splitter/splitter.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-expandable-chapters-small/expandable-chapters-small.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-page-toc-button/plugin.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-change_girls/girls.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-livereload/plugin.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-search/search-engine.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-search/search.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-lunr/lunr.min.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-lunr/search-lunr.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-sharing/buttons.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-fontsettings/fontsettings.js"></script>
        
    

    </body>
</html>

